package hr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import hr.entity.EmployeeDepartForm;
import hr.entity.vo.ObtainDepartment;
import hr.entity.vo.request.DepartureInfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 离职表
 */
@Mapper
public interface EmployeeDepartFormMapper extends BaseMapper<EmployeeDepartForm> {
    List<EmployeeDepartForm> selectByPage(@Param("page") ObtainDepartment paging);

    long selectByPageCount(@Param("page")ObtainDepartment paging);

    int insertOne(@Param("vo") DepartureInfoVO vo, @Param("time") long time);
}
